package com.bestv.listener;

import com.bestv.cache.BestvMemcachedPusher;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

/**
 * Created by Henry on 14-6-11.
 */
public class DataSynchronizer implements ServletContextListener {
    @Override
    public void contextInitialized(ServletContextEvent sce) {
        BestvMemcachedPusher.getInstance().start();
    }

    @Override
    public void contextDestroyed(ServletContextEvent sce) {

    }
}
